using System;
using System.Data;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace CatalogManager.CatalogForms
{
	/// <summary>
	/// Summary description for VirtualCatalogEditor.
	/// </summary>
	public class VirtualCatalogEditor : System.Windows.Forms.Form
	{
		private System.Windows.Forms.TabPage tabPageVirtualProperties;
		private System.Windows.Forms.TabPage tabPageCatalogContent;
		private System.Windows.Forms.DateTimePicker EnddateTimePicker;
		private System.Windows.Forms.DateTimePicker StartdateTimePicker;
		private System.Windows.Forms.Button btnSave;
		private System.Windows.Forms.Button btnSaveNBack;
		private System.Windows.Forms.Button btnBack;
		private System.Windows.Forms.ComboBox cboReportingLang;
		private System.Windows.Forms.ComboBox cboDefaultLang;
		private System.Windows.Forms.Label lblReportingLang;
		private System.Windows.Forms.Label lblDefaultLang;
		private System.Windows.Forms.Button btnRemoveLang;
		private System.Windows.Forms.Button btnAddLanguage;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.ListBox ListBoxLanguages;
		private System.Windows.Forms.TextBox txtUnit;
		private System.Windows.Forms.TextBox txtCurrency;
		private System.Windows.Forms.TextBox txtCataogName;
		private System.Windows.Forms.Label lblUnit;
		private System.Windows.Forms.Label lblCurrency;
		private System.Windows.Forms.Label lblEndDate;
		private System.Windows.Forms.Label lblStartDate;
		private System.Windows.Forms.Label lblCatalogName;
		private System.Windows.Forms.TabControl tabControlVirutalCatalog;
		private System.Windows.Forms.Button btnNew;
		private System.Windows.Forms.Button btnRemove;
		private System.Windows.Forms.Button btnDone;
		private System.Windows.Forms.Button btnCancel;
		private System.Windows.Forms.TabPage tabPagePrice;
		private System.Windows.Forms.Label lblTotal;
		private System.Windows.Forms.Label lblCount;
		private System.Windows.Forms.ListView listViewIncludeExclude;
		private System.Windows.Forms.DataGrid dataGridIncludeExclude;
		private System.Windows.Forms.Label lblRuleCount;
		private System.Windows.Forms.Label lblRuleTotal;
		private System.Windows.Forms.Button btnRuleCancel;
		private System.Windows.Forms.Button btnRuleDone;
		private System.Windows.Forms.Button btnRemoveRule;
		private System.Windows.Forms.Button btnRuleNew;
		private System.Windows.Forms.DataGrid dataGrid2;
		private System.Windows.Forms.ListView listView2;
		private System.Windows.Forms.ColumnHeader columnHeaderCatalog;
		private System.Windows.Forms.ColumnHeader columnHeaderRule;
		private System.Windows.Forms.ColumnHeader columnHeaderItem;
		private System.Windows.Forms.ColumnHeader columnHeaderRuleItem;
		private System.Windows.Forms.ColumnHeader columnHeaderRuleType;
		private System.Windows.Forms.ColumnHeader columnHeaderRuleAmount;
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;
		public DataSet Languages = null;

		public VirtualCatalogEditor()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.tabControlVirutalCatalog = new System.Windows.Forms.TabControl();
			this.tabPageVirtualProperties = new System.Windows.Forms.TabPage();
			this.EnddateTimePicker = new System.Windows.Forms.DateTimePicker();
			this.StartdateTimePicker = new System.Windows.Forms.DateTimePicker();
			this.cboReportingLang = new System.Windows.Forms.ComboBox();
			this.cboDefaultLang = new System.Windows.Forms.ComboBox();
			this.lblReportingLang = new System.Windows.Forms.Label();
			this.lblDefaultLang = new System.Windows.Forms.Label();
			this.btnRemoveLang = new System.Windows.Forms.Button();
			this.btnAddLanguage = new System.Windows.Forms.Button();
			this.label1 = new System.Windows.Forms.Label();
			this.ListBoxLanguages = new System.Windows.Forms.ListBox();
			this.txtUnit = new System.Windows.Forms.TextBox();
			this.txtCurrency = new System.Windows.Forms.TextBox();
			this.txtCataogName = new System.Windows.Forms.TextBox();
			this.lblUnit = new System.Windows.Forms.Label();
			this.lblCurrency = new System.Windows.Forms.Label();
			this.lblEndDate = new System.Windows.Forms.Label();
			this.lblStartDate = new System.Windows.Forms.Label();
			this.lblCatalogName = new System.Windows.Forms.Label();
			this.tabPageCatalogContent = new System.Windows.Forms.TabPage();
			this.lblCount = new System.Windows.Forms.Label();
			this.lblTotal = new System.Windows.Forms.Label();
			this.btnCancel = new System.Windows.Forms.Button();
			this.btnDone = new System.Windows.Forms.Button();
			this.btnRemove = new System.Windows.Forms.Button();
			this.btnNew = new System.Windows.Forms.Button();
			this.dataGridIncludeExclude = new System.Windows.Forms.DataGrid();
			this.listViewIncludeExclude = new System.Windows.Forms.ListView();
			this.columnHeaderCatalog = new System.Windows.Forms.ColumnHeader();
			this.columnHeaderRule = new System.Windows.Forms.ColumnHeader();
			this.columnHeaderItem = new System.Windows.Forms.ColumnHeader();
			this.tabPagePrice = new System.Windows.Forms.TabPage();
			this.lblRuleCount = new System.Windows.Forms.Label();
			this.lblRuleTotal = new System.Windows.Forms.Label();
			this.btnRuleCancel = new System.Windows.Forms.Button();
			this.btnRuleDone = new System.Windows.Forms.Button();
			this.btnRemoveRule = new System.Windows.Forms.Button();
			this.btnRuleNew = new System.Windows.Forms.Button();
			this.dataGrid2 = new System.Windows.Forms.DataGrid();
			this.listView2 = new System.Windows.Forms.ListView();
			this.columnHeaderRuleItem = new System.Windows.Forms.ColumnHeader();
			this.columnHeaderRuleType = new System.Windows.Forms.ColumnHeader();
			this.columnHeaderRuleAmount = new System.Windows.Forms.ColumnHeader();
			this.btnSave = new System.Windows.Forms.Button();
			this.btnSaveNBack = new System.Windows.Forms.Button();
			this.btnBack = new System.Windows.Forms.Button();
			this.tabControlVirutalCatalog.SuspendLayout();
			this.tabPageVirtualProperties.SuspendLayout();
			this.tabPageCatalogContent.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.dataGridIncludeExclude)).BeginInit();
			this.tabPagePrice.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.dataGrid2)).BeginInit();
			this.SuspendLayout();
			// 
			// tabControlVirutalCatalog
			// 
			this.tabControlVirutalCatalog.Controls.AddRange(new System.Windows.Forms.Control[] {
																								   this.tabPageVirtualProperties,
																								   this.tabPageCatalogContent,
																								   this.tabPagePrice});
			this.tabControlVirutalCatalog.Location = new System.Drawing.Point(8, 8);
			this.tabControlVirutalCatalog.Name = "tabControlVirutalCatalog";
			this.tabControlVirutalCatalog.SelectedIndex = 0;
			this.tabControlVirutalCatalog.Size = new System.Drawing.Size(464, 368);
			this.tabControlVirutalCatalog.TabIndex = 52;
			// 
			// tabPageVirtualProperties
			// 
			this.tabPageVirtualProperties.Controls.AddRange(new System.Windows.Forms.Control[] {
																								   this.EnddateTimePicker,
																								   this.StartdateTimePicker,
																								   this.cboReportingLang,
																								   this.cboDefaultLang,
																								   this.lblReportingLang,
																								   this.lblDefaultLang,
																								   this.btnRemoveLang,
																								   this.btnAddLanguage,
																								   this.label1,
																								   this.ListBoxLanguages,
																								   this.txtUnit,
																								   this.txtCurrency,
																								   this.txtCataogName,
																								   this.lblUnit,
																								   this.lblCurrency,
																								   this.lblEndDate,
																								   this.lblStartDate,
																								   this.lblCatalogName});
			this.tabPageVirtualProperties.Location = new System.Drawing.Point(4, 22);
			this.tabPageVirtualProperties.Name = "tabPageVirtualProperties";
			this.tabPageVirtualProperties.Size = new System.Drawing.Size(456, 342);
			this.tabPageVirtualProperties.TabIndex = 0;
			this.tabPageVirtualProperties.Text = "Virutual Catalog Properties";
			// 
			// EnddateTimePicker
			// 
			this.EnddateTimePicker.Location = new System.Drawing.Point(152, 56);
			this.EnddateTimePicker.Name = "EnddateTimePicker";
			this.EnddateTimePicker.Size = new System.Drawing.Size(248, 20);
			this.EnddateTimePicker.TabIndex = 72;
			// 
			// StartdateTimePicker
			// 
			this.StartdateTimePicker.Location = new System.Drawing.Point(152, 32);
			this.StartdateTimePicker.Name = "StartdateTimePicker";
			this.StartdateTimePicker.Size = new System.Drawing.Size(248, 20);
			this.StartdateTimePicker.TabIndex = 71;
			// 
			// cboReportingLang
			// 
			this.cboReportingLang.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.cboReportingLang.Location = new System.Drawing.Point(152, 312);
			this.cboReportingLang.Name = "cboReportingLang";
			this.cboReportingLang.Size = new System.Drawing.Size(248, 21);
			this.cboReportingLang.TabIndex = 67;
			// 
			// cboDefaultLang
			// 
			this.cboDefaultLang.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.cboDefaultLang.Location = new System.Drawing.Point(152, 288);
			this.cboDefaultLang.Name = "cboDefaultLang";
			this.cboDefaultLang.Size = new System.Drawing.Size(248, 21);
			this.cboDefaultLang.TabIndex = 66;
			// 
			// lblReportingLang
			// 
			this.lblReportingLang.Location = new System.Drawing.Point(8, 312);
			this.lblReportingLang.Name = "lblReportingLang";
			this.lblReportingLang.Size = new System.Drawing.Size(136, 16);
			this.lblReportingLang.TabIndex = 65;
			this.lblReportingLang.Text = "Reporting Language";
			// 
			// lblDefaultLang
			// 
			this.lblDefaultLang.Location = new System.Drawing.Point(8, 288);
			this.lblDefaultLang.Name = "lblDefaultLang";
			this.lblDefaultLang.Size = new System.Drawing.Size(136, 16);
			this.lblDefaultLang.TabIndex = 64;
			this.lblDefaultLang.Text = "Default Lnaguage";
			// 
			// btnRemoveLang
			// 
			this.btnRemoveLang.Enabled = false;
			this.btnRemoveLang.Location = new System.Drawing.Point(264, 136);
			this.btnRemoveLang.Name = "btnRemoveLang";
			this.btnRemoveLang.Size = new System.Drawing.Size(104, 23);
			this.btnRemoveLang.TabIndex = 63;
			this.btnRemoveLang.Text = "Remove Lanuage";
			// 
			// btnAddLanguage
			// 
			this.btnAddLanguage.Location = new System.Drawing.Point(152, 136);
			this.btnAddLanguage.Name = "btnAddLanguage";
			this.btnAddLanguage.Size = new System.Drawing.Size(104, 23);
			this.btnAddLanguage.TabIndex = 62;
			this.btnAddLanguage.Text = "Add Language";
			this.btnAddLanguage.Click += new System.EventHandler(this.btnAddLanguage_Click);
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(8, 136);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(136, 16);
			this.label1.TabIndex = 61;
			this.label1.Text = "Languages";
			// 
			// ListBoxLanguages
			// 
			this.ListBoxLanguages.Location = new System.Drawing.Point(8, 168);
			this.ListBoxLanguages.Name = "ListBoxLanguages";
			this.ListBoxLanguages.Size = new System.Drawing.Size(392, 108);
			this.ListBoxLanguages.TabIndex = 60;
			// 
			// txtUnit
			// 
			this.txtUnit.Enabled = false;
			this.txtUnit.Location = new System.Drawing.Point(152, 104);
			this.txtUnit.Name = "txtUnit";
			this.txtUnit.Size = new System.Drawing.Size(248, 20);
			this.txtUnit.TabIndex = 59;
			this.txtUnit.Text = "";
			// 
			// txtCurrency
			// 
			this.txtCurrency.Location = new System.Drawing.Point(152, 80);
			this.txtCurrency.Name = "txtCurrency";
			this.txtCurrency.Size = new System.Drawing.Size(248, 20);
			this.txtCurrency.TabIndex = 58;
			this.txtCurrency.Text = "";
			// 
			// txtCataogName
			// 
			this.txtCataogName.Enabled = false;
			this.txtCataogName.Location = new System.Drawing.Point(152, 8);
			this.txtCataogName.Name = "txtCataogName";
			this.txtCataogName.Size = new System.Drawing.Size(248, 20);
			this.txtCataogName.TabIndex = 57;
			this.txtCataogName.Text = "";
			// 
			// lblUnit
			// 
			this.lblUnit.Location = new System.Drawing.Point(16, 104);
			this.lblUnit.Name = "lblUnit";
			this.lblUnit.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
			this.lblUnit.Size = new System.Drawing.Size(128, 23);
			this.lblUnit.TabIndex = 56;
			this.lblUnit.Text = "Unit of weight measure";
			// 
			// lblCurrency
			// 
			this.lblCurrency.Location = new System.Drawing.Point(16, 80);
			this.lblCurrency.Name = "lblCurrency";
			this.lblCurrency.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
			this.lblCurrency.Size = new System.Drawing.Size(128, 16);
			this.lblCurrency.TabIndex = 55;
			this.lblCurrency.Text = "Currency";
			// 
			// lblEndDate
			// 
			this.lblEndDate.Location = new System.Drawing.Point(16, 56);
			this.lblEndDate.Name = "lblEndDate";
			this.lblEndDate.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
			this.lblEndDate.Size = new System.Drawing.Size(128, 16);
			this.lblEndDate.TabIndex = 54;
			this.lblEndDate.Text = "End Date";
			// 
			// lblStartDate
			// 
			this.lblStartDate.Location = new System.Drawing.Point(16, 32);
			this.lblStartDate.Name = "lblStartDate";
			this.lblStartDate.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
			this.lblStartDate.Size = new System.Drawing.Size(128, 16);
			this.lblStartDate.TabIndex = 53;
			this.lblStartDate.Text = "Start Date";
			// 
			// lblCatalogName
			// 
			this.lblCatalogName.Location = new System.Drawing.Point(16, 8);
			this.lblCatalogName.Name = "lblCatalogName";
			this.lblCatalogName.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
			this.lblCatalogName.Size = new System.Drawing.Size(128, 16);
			this.lblCatalogName.TabIndex = 52;
			this.lblCatalogName.Text = "Catalog Name";
			// 
			// tabPageCatalogContent
			// 
			this.tabPageCatalogContent.Controls.AddRange(new System.Windows.Forms.Control[] {
																								this.lblCount,
																								this.lblTotal,
																								this.btnCancel,
																								this.btnDone,
																								this.btnRemove,
																								this.btnNew,
																								this.dataGridIncludeExclude,
																								this.listViewIncludeExclude});
			this.tabPageCatalogContent.Location = new System.Drawing.Point(4, 22);
			this.tabPageCatalogContent.Name = "tabPageCatalogContent";
			this.tabPageCatalogContent.Size = new System.Drawing.Size(456, 342);
			this.tabPageCatalogContent.TabIndex = 1;
			this.tabPageCatalogContent.Text = "Virutal Catalog Content";
			// 
			// lblCount
			// 
			this.lblCount.Location = new System.Drawing.Point(88, 176);
			this.lblCount.Name = "lblCount";
			this.lblCount.Size = new System.Drawing.Size(64, 16);
			this.lblCount.TabIndex = 7;
			// 
			// lblTotal
			// 
			this.lblTotal.Location = new System.Drawing.Point(8, 176);
			this.lblTotal.Name = "lblTotal";
			this.lblTotal.Size = new System.Drawing.Size(64, 16);
			this.lblTotal.TabIndex = 6;
			this.lblTotal.Text = "List Total:";
			// 
			// btnCancel
			// 
			this.btnCancel.Location = new System.Drawing.Point(368, 232);
			this.btnCancel.Name = "btnCancel";
			this.btnCancel.Size = new System.Drawing.Size(80, 23);
			this.btnCancel.TabIndex = 5;
			this.btnCancel.Text = "Cancel";
			// 
			// btnDone
			// 
			this.btnDone.Location = new System.Drawing.Point(368, 200);
			this.btnDone.Name = "btnDone";
			this.btnDone.Size = new System.Drawing.Size(80, 23);
			this.btnDone.TabIndex = 4;
			this.btnDone.Text = "Done";
			// 
			// btnRemove
			// 
			this.btnRemove.Location = new System.Drawing.Point(368, 40);
			this.btnRemove.Name = "btnRemove";
			this.btnRemove.Size = new System.Drawing.Size(80, 23);
			this.btnRemove.TabIndex = 3;
			this.btnRemove.Text = "Remove";
			// 
			// btnNew
			// 
			this.btnNew.Location = new System.Drawing.Point(368, 8);
			this.btnNew.Name = "btnNew";
			this.btnNew.Size = new System.Drawing.Size(80, 23);
			this.btnNew.TabIndex = 2;
			this.btnNew.Text = "New";
			// 
			// dataGridIncludeExclude
			// 
			this.dataGridIncludeExclude.DataMember = "";
			this.dataGridIncludeExclude.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGridIncludeExclude.Location = new System.Drawing.Point(8, 200);
			this.dataGridIncludeExclude.Name = "dataGridIncludeExclude";
			this.dataGridIncludeExclude.Size = new System.Drawing.Size(352, 136);
			this.dataGridIncludeExclude.TabIndex = 1;
			// 
			// listViewIncludeExclude
			// 
			this.listViewIncludeExclude.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
																									 this.columnHeaderCatalog,
																									 this.columnHeaderRule,
																									 this.columnHeaderItem});
			this.listViewIncludeExclude.Location = new System.Drawing.Point(8, 8);
			this.listViewIncludeExclude.Name = "listViewIncludeExclude";
			this.listViewIncludeExclude.Size = new System.Drawing.Size(352, 160);
			this.listViewIncludeExclude.TabIndex = 0;
			// 
			// columnHeaderCatalog
			// 
			this.columnHeaderCatalog.Text = "Catalog";
			// 
			// columnHeaderRule
			// 
			this.columnHeaderRule.Text = "Rule";
			// 
			// columnHeaderItem
			// 
			this.columnHeaderItem.Text = "Item";
			// 
			// tabPagePrice
			// 
			this.tabPagePrice.Controls.AddRange(new System.Windows.Forms.Control[] {
																					   this.lblRuleCount,
																					   this.lblRuleTotal,
																					   this.btnRuleCancel,
																					   this.btnRuleDone,
																					   this.btnRemoveRule,
																					   this.btnRuleNew,
																					   this.dataGrid2,
																					   this.listView2});
			this.tabPagePrice.Location = new System.Drawing.Point(4, 22);
			this.tabPagePrice.Name = "tabPagePrice";
			this.tabPagePrice.Size = new System.Drawing.Size(456, 342);
			this.tabPagePrice.TabIndex = 2;
			this.tabPagePrice.Text = "Price Rule";
			// 
			// lblRuleCount
			// 
			this.lblRuleCount.Location = new System.Drawing.Point(88, 176);
			this.lblRuleCount.Name = "lblRuleCount";
			this.lblRuleCount.Size = new System.Drawing.Size(64, 16);
			this.lblRuleCount.TabIndex = 15;
			// 
			// lblRuleTotal
			// 
			this.lblRuleTotal.Location = new System.Drawing.Point(8, 176);
			this.lblRuleTotal.Name = "lblRuleTotal";
			this.lblRuleTotal.Size = new System.Drawing.Size(64, 16);
			this.lblRuleTotal.TabIndex = 14;
			this.lblRuleTotal.Text = "List Total:";
			// 
			// btnRuleCancel
			// 
			this.btnRuleCancel.Location = new System.Drawing.Point(368, 232);
			this.btnRuleCancel.Name = "btnRuleCancel";
			this.btnRuleCancel.Size = new System.Drawing.Size(80, 23);
			this.btnRuleCancel.TabIndex = 13;
			this.btnRuleCancel.Text = "Cancel";
			// 
			// btnRuleDone
			// 
			this.btnRuleDone.Location = new System.Drawing.Point(368, 200);
			this.btnRuleDone.Name = "btnRuleDone";
			this.btnRuleDone.Size = new System.Drawing.Size(80, 23);
			this.btnRuleDone.TabIndex = 12;
			this.btnRuleDone.Text = "Done";
			// 
			// btnRemoveRule
			// 
			this.btnRemoveRule.Location = new System.Drawing.Point(368, 39);
			this.btnRemoveRule.Name = "btnRemoveRule";
			this.btnRemoveRule.Size = new System.Drawing.Size(80, 23);
			this.btnRemoveRule.TabIndex = 11;
			this.btnRemoveRule.Text = "Remove";
			// 
			// btnRuleNew
			// 
			this.btnRuleNew.Location = new System.Drawing.Point(368, 7);
			this.btnRuleNew.Name = "btnRuleNew";
			this.btnRuleNew.Size = new System.Drawing.Size(80, 23);
			this.btnRuleNew.TabIndex = 10;
			this.btnRuleNew.Text = "New";
			// 
			// dataGrid2
			// 
			this.dataGrid2.DataMember = "";
			this.dataGrid2.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGrid2.Location = new System.Drawing.Point(8, 200);
			this.dataGrid2.Name = "dataGrid2";
			this.dataGrid2.Size = new System.Drawing.Size(352, 136);
			this.dataGrid2.TabIndex = 9;
			// 
			// listView2
			// 
			this.listView2.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
																						this.columnHeaderRuleItem,
																						this.columnHeaderRuleType,
																						this.columnHeaderRuleAmount});
			this.listView2.Location = new System.Drawing.Point(8, 7);
			this.listView2.Name = "listView2";
			this.listView2.Size = new System.Drawing.Size(352, 161);
			this.listView2.TabIndex = 8;
			// 
			// columnHeaderRuleItem
			// 
			this.columnHeaderRuleItem.Text = "Item";
			// 
			// columnHeaderRuleType
			// 
			this.columnHeaderRuleType.Text = "Type";
			// 
			// columnHeaderRuleAmount
			// 
			this.columnHeaderRuleAmount.Text = "Amount";
			// 
			// btnSave
			// 
			this.btnSave.Location = new System.Drawing.Point(280, 384);
			this.btnSave.Name = "btnSave";
			this.btnSave.Size = new System.Drawing.Size(104, 23);
			this.btnSave.TabIndex = 70;
			this.btnSave.Text = "Save";
			// 
			// btnSaveNBack
			// 
			this.btnSaveNBack.Location = new System.Drawing.Point(168, 384);
			this.btnSaveNBack.Name = "btnSaveNBack";
			this.btnSaveNBack.Size = new System.Drawing.Size(104, 23);
			this.btnSaveNBack.TabIndex = 69;
			this.btnSaveNBack.Text = "Save and Back";
			// 
			// btnBack
			// 
			this.btnBack.Location = new System.Drawing.Point(56, 384);
			this.btnBack.Name = "btnBack";
			this.btnBack.Size = new System.Drawing.Size(104, 23);
			this.btnBack.TabIndex = 68;
			this.btnBack.Text = "Back";
			// 
			// VirtualCatalogEditor
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(480, 412);
			this.Controls.AddRange(new System.Windows.Forms.Control[] {
																		  this.tabControlVirutalCatalog,
																		  this.btnSave,
																		  this.btnSaveNBack,
																		  this.btnBack});
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.MaximizeBox = false;
			this.Name = "VirtualCatalogEditor";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "Virtual Catalog Editor";
			this.tabControlVirutalCatalog.ResumeLayout(false);
			this.tabPageVirtualProperties.ResumeLayout(false);
			this.tabPageCatalogContent.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.dataGridIncludeExclude)).EndInit();
			this.tabPagePrice.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.dataGrid2)).EndInit();
			this.ResumeLayout(false);

		}
		#endregion

		private void btnAddLanguage_Click(object sender, System.EventArgs e)
		{
			// show the language selector
			LanguageSelector ls = new LanguageSelector();
			ls.Languages = Languages;
			ls.ShowDialog(this);
		}
	}
}
